package com.kitbox.hl.meshow.common.annotation;

import java.lang.annotation.*;

/**
 * 数据字典的VO对象注解.  来自poseidon
 *
 * @author zefengl
 *
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface DicAttribute {

    /**
     * 数据字典名称,唯一标识beanID.
     *
     * @return
     */
    public abstract String dicName();

    /**
     * 字典子分类.
     *
     * @return
     */
    public abstract String subType() default "";

    /**
     * 字典中元素的key.
     *
     * @return
     */
    public abstract String key();
}